package mobi.hami.huapin.service.impl;

import mobi.hami.huapin.base.Result;
import mobi.hami.huapin.dao.CourierAgencyMapper;
import mobi.hami.huapin.service.CourierService;
import mobi.hami.huapin.util.Results;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class CourierServiceImpl implements CourierService {

    private static final Logger logger = LoggerFactory.getLogger(CourierServiceImpl.class);

    @Autowired
    private CourierAgencyMapper courierAgencyMapper;

    public Result list(){
       return Results.successWithData(courierAgencyMapper.selectWithStatus(1));
    }
}
